﻿<Window x:Class="FixedCursorCoordinateGraph.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
        Title="DynamicDataDisplay Sample" WindowState="Maximized"
        Icon="{x:Static d3:D3IconHelper.DynamicDataDisplayWhiteIcon}">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <d3:ChartPlotter Name="plotter" Grid.Row="0" Grid.Column="1">
            <d3:CursorCoordinateGraph Name="cursorGraph" FollowMouse="False"/>
        </d3:ChartPlotter>
        
        <Slider Name="xSlider" Grid.Row="1" Grid.Column="1" Minimum="0" Maximum="1" Value="0.5" ValueChanged="Slider_ValueChanged"/>
        <Slider Name="ySlider" Grid.Row="0" Grid.Column="0" Minimum="0" Maximum="1" Value="0.5" ValueChanged="Slider_ValueChanged" Orientation="Vertical"/>
    </Grid>
</Window>
